package com.molichuxing.gateway.bff.dealer.services;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.gateway.bff.dealer.entity.response.DealerEsignInfoVo;
import com.molichuxing.gateway.bff.dealer.entity.response.DealerGoodsVo;
import com.molichuxing.gateway.bff.dealer.entity.response.DealerInfoVo;
import com.molichuxing.gateway.bff.dealer.entity.response.DealerVo;
import com.molichuxing.gateway.bff.goods.entity.response.GoodsVo;
import com.molichuxing.services.business.dto.response.GoodsBizBizDto;
import com.molichuxing.services.property.GoodsTypeEnum;

import java.util.List;
import java.util.Map;

/**
 * 经销商商品分销相关bff
 *
 * @author zhaopenghui
 * @date 2019年8月26日
 */
public interface DealerGoodsBffService {

    /**
     * 获取经销商商品分销信息列表
     * @param params
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    Paged<DealerGoodsVo> getDealerGoodsPage(Map<String, Object> params, Integer pageNum, Integer pageSize) throws Exception;

    /**
     * 根据经销商ID获取商品信息列表
     * @param dealerId
     * @param goodsType
     * @param carStyleId
     * @return
     */
    public List<GoodsVo> getDealerGoodsList(Integer dealerId, Integer goodsType, Integer carStyleId);

    /**
     * 修改经销商的分销商品
     * @param goodsIds
     * @param dealerIds
     * @return
     */
    public Boolean modifyGoodsDealer(List<Integer> goodsIds, List<Integer> dealerIds, List<Integer> unDealerIds) throws Exception;
}
